* ]|
*/
-#define DEFAULT_THEME_NAME "hicolor"
+#define FALLBACK_ICON_THEME "hicolor"
typedef enum
{
g_free (path);
}
- if (theme_file || strcmp (theme_name, DEFAULT_THEME_NAME) == 0)
+ if (theme_file || strcmp (theme_name, FALLBACK_ICON_THEME) == 0)
{
theme = g_new0 (IconTheme, 1);
theme->name = g_strdup (theme_name);
*/
insert_theme (icon_theme, "Adwaita");
insert_theme (icon_theme, "gnome");
- insert_theme (icon_theme, DEFAULT_THEME_NAME);
+ insert_theme (icon_theme, FALLBACK_ICON_THEME);
priv->themes = g_list_reverse (priv->themes);
for (i = 0; !found && i < priv->search_path_len; i++)
{
default_theme_path = g_build_filename (priv->search_path[i],
- DEFAULT_THEME_NAME,
+ FALLBACK_ICON_THEME,
"index.theme",
NULL);
found = g_file_test (default_theme_path, G_FILE_TEST_IS_REGULAR);
"was not found either, perhaps you need to install it.\n"
"You can get a copy from:\n"
"\t%s",
- icon_names[0], DEFAULT_THEME_NAME, "http://icon-theme.freedesktop.org/releases");
+ icon_names[0], FALLBACK_ICON_THEME, "http://icon-theme.freedesktop.org/releases");
}
}
}
/* Builtin icons are logically part of the default theme and
* are searched before other subdirectories of the default theme.
*/
- if (use_builtin && strcmp (theme->name, DEFAULT_THEME_NAME) == 0)
+ if (use_builtin && strcmp (theme->name, FALLBACK_ICON_THEME) == 0)
{
closest_builtin = find_builtin_icon (icon_name,
size, scale,
g_free (full_dir);
}
- if (strcmp (theme->name, DEFAULT_THEME_NAME) == 0)
+ if (strcmp (theme->name, FALLBACK_ICON_THEME) == 0)
{
for (d = icon_theme->priv->resource_paths; d; d = d->next)
{